<ion-header>
  	<ion-navbar color="primary">
    	<ion-title>登  录</ion-title>
  	</ion-navbar>
</ion-header>


<ion-content>
	<div class="logo">
		<img src="assets/img/login.png" >
	</div>
	<ion-list inset>
	  	<ion-item>
	  		<ion-icon name="ios-phone-portrait-outline" item-start></ion-icon>
	    	<ion-input type="text" [(ngModel)]="user.username"
	    	 placeholder="手机号"></ion-input>
	  	</ion-item>
	  	<ion-item>
	  		<ion-icon name="ios-lock-outline" item-start></ion-icon>
	    	<ion-input type="password" [(ngModel)]="user.password"
	    	 placeholder="密  码"></ion-input>
	  	</ion-item>
	  	<ion-item no-lines>
	  		<span item-end (click)="forget()">忘记密码?</span>
	  	</ion-item>
	</ion-list>

    <div padding>
	  	<button ion-button full (click)="login()">登  录</button>
	</div>

	<div padding  class="register">
	  	<button ion-button outline block (click)="register()">注  册</button>
	</div>
</ion-content>
